$OpenBSD: patch-akonadi_kmime_tests_CMakeLists_txt,v 1.1 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- akonadi/kmime/tests/CMakeLists.txt.orig	Sun May 18 21:56:50 2014
+++ akonadi/kmime/tests/CMakeLists.txt	Sun May 18 21:57:42 2014
@@ -23,16 +23,16 @@ macro(add_akonadi_isolated_test _source)
 
   kde4_add_executable(${_targetName} TEST ${_srcList})
   target_link_libraries(${_targetName}
-    ${QT_QTTEST_LIBRARY}
-    ${QT_QTGUI_LIBRARY}
-    ${QT_QTDBUS_LIBRARY}
-    ${KDE4_AKONADI_LIBS}
-    ${KDE4_KDECORE_LIBS}
-    ${KDE4_KDEUI_LIBS}
+    akonadi-kmime
+    akonadi-kde
     ${KDE4_MAILTRANSPORT_LIBS}
+    ${KDE4_AKONADI_LIBS}
     ${KDE4_KMIME_LIBS}
-    akonadi-kde
-    akonadi-kmime
+    ${KDE4_KDEUI_LIBS}
+    ${KDE4_KDECORE_LIBS}
+    ${QT_QTTEST_LIBRARY}
+    ${QT_QTDBUS_LIBRARY}
+    ${QT_QTGUI_LIBRARY}
   )
 
   # based on kde4_add_unit_test
